package com.turing.system.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import result.Result;

@FeignClient("auth-server")
public interface AuthService {

    @GetMapping("auth/getUserInfoByToken")
    Result getUserInfoByToken(@RequestParam("token") String token);
}
